softplus Function

public pure elemental function softplus(value) result(rst)

Computes log(1 + exp(value)) without overflowing the exponential.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: value

Exponent argument.

Return Value real(kind=real64)

Softplus value; NaN inputs propagate.